ip address

This command defines the local IP address of the specified tunnel interface. Use the no form of this command to remove a configured IP address.

Syntax

ip address <ip address> 

Command

Description

ip address

Specifies a valid IPv4 address. IP addresses should be expressed in dotted decimal notation (for example, 10.1.2.3).

Default

NA

Command Mode

Privileged User

Example

This example configures the IP address of 10.4.2.3 on interface GRE 6.

# configure data
(config-data)# interface gre 6
(conf-if-GRE 6)# ip address 10.4.2.3